@use './comm.scss' as *;

@include b(extra-table-row) {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  box-sizing: border-box;
  padding: 6px 0;
  border-bottom: 1px solid rgb(235, 238, 245);

  &:last-child {
    border: none;
  }
}

@include b(extra-table-column) {
  display: flex;
  align-items: center;

  min-height: 32px;
  padding: 0 8px;
  overflow: auto;
  font-size: 14px;

  // outline: 1px solid red;

  @include is(extra) {
    display: block;
    grid-column: 1 / -1;
    min-height: 0px;
  }

  /*定义滚动条高宽及背景
  高宽分别对应横竖滚动条的尺寸*/
  &::-webkit-scrollbar {
    width: 2px;
    height: 2px;
  }
  /*定义滑块
  内阴影+圆角*/
  &::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(173, 173, 173, 0.3);
  }
}
